#include<stdio.h>
int arr1[10];
int arr2[10];
int i = 0;
void init()
{
	int arr1[10] = { 0 };
	return arr1;
}
void print()
{
	int arr1[10] = {1,2,3,4,5,6,7,8,9,10};
	for (i = 0; i < 10; i++)
	{
		print("%d ", arr1[i]);
	}
	return arr1;
}
void reverse()
{
	print();
	for (i = 0; i < 10; i++)
	{
		arr2[i] = arr1[9 - i];
	}
	return arr2;
}
int main() 
{
	init(arr1);
	print(arr1);
	reverse(arr2);
	for (i = 0; i < 10; i++)
		printf("%d ", arr2[i]);
	return 0;
}